﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Kooboo.Commerce
{
    public interface IShopSetting
    {
        int Id
        {
            get;
            set;
        }

        
        [StringLength(18)]
        decimal PriceIndex
        {
            get;
            set;
        }

        [StringLength(50)]
        string ThreadCulture
        {
            get;
            set;
        }

        [StringLength(3)]
        string CurrencyISOCode
        {
            get;
            set;
        }

        [StringLength(10)]
        string SizeUnit
        {
            get;
            set;
        }

        [StringLength(10)]
        string WeightUnit
        {
            get;
            set;
        }


        bool EnableStock
        {
            get;
            set;
        }

        [RegularExpression(@"^\d+$")]
        int DefaultDeliveryDays
        {
            get;
            set;
        }


        IImageSettings ImageSettings
        {
            get;
            set;
        }
    }
}
